import Vue from 'vue'
import App from './App'
import store from './store'
import './common/vueFilters/index.js'
// 引入全局uView
import uView from 'uview-ui';
Vue.use(uView);
import httpInterceptor from '@/common/js/http.interceptor.js';

// 引入uView提供的对vuex的简写法文件
let vuexStore = require('@/store/$u.mixin.js');
Vue.mixin(vuexStore);

// 引入uView对小程序分享的mixin封装
let mpShare = require('uview-ui/libs/mixin/mpShare.js');
Vue.mixin(mpShare);


Vue.prototype.$store = store

App.mpType = 'app'

const app = new Vue({
    ...App
})
Vue.use(httpInterceptor, app);
app.$mount()
